const { wrap } = require('./public')
const express = require('express');
const router = express.Router();
const BillController = require('../controllers/bill');

// 组装路由
router.post('/list', wrap(BillController.list));
router.post('/add', wrap(BillController.add));
router.post('/delete', wrap(BillController.delete));
router.post('/detail', wrap(BillController.detail));
router.post('/edit', wrap(BillController.edit));
router.post('/statistics_info', wrap(BillController.statistics_info));
module.exports = router;